/**
 * @filename:SampleDetail 2022-03-09 07:00:40
 * @project com/lwl/blue  V1.0
 * Copyright(c) 2020 <a href=mailto:lanwenliang@yidianlife.com>蓝文良</a> Co. Ltd.
 * All right reserved.
 */
package com.lwl.blue.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.lwl.blue.commont.aop.PowerFieldInterface;
import com.lwl.blue.commont.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <p>代码自动生成，请勿修改</p>
 *
 * <p>说明： 样品单资料实体类</P>
 * @version: V1.0
 * @author: <a href=mailto:lanwenliang@yidianlife.com>蓝文良</a>
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SampleDetail extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1646823640290L;
    @ApiModelProperty(name = "ask", value = "要求")
    private String ask;
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(name = "id", value = "ID 主键")
    private Integer id;
    @ApiModelProperty(name = "itemId", value = "产品ID")
    private Integer itemId;
    @ApiModelProperty(name = "itemName", value = "产品名称")
    private String itemName;
    @ApiModelProperty(name = "itemNo", value = "产品编号")
    private String itemNo;
    @ApiModelProperty(name = "itemSizeHeight", value = "产品尺寸-高")
    private BigDecimal itemSizeHeight;
    @ApiModelProperty(name = "itemSizeLength", value = "产品尺寸-长")
    private BigDecimal itemSizeLength;
    @ApiModelProperty(name = "itemSizeWidth", value = "产品尺寸-宽")
    private BigDecimal itemSizeWidth;
    @ApiModelProperty(name = "photo", value = "图片")
    private String photo;
    @ApiModelProperty(name = "price", value = "价格")
    @PowerFieldInterface
    private BigDecimal price;
    @ApiModelProperty(name = "sampleId", value = "样品单ID")
    private Integer sampleId;
    @ApiModelProperty(name = "totalNumber", value = "报价数量")
    private Integer totalNumber;
    //----------其他表字段-------------------
    @TableField(exist = false)
    private String supplierName;
    @TableField(exist = false)
    private String supplierNo;
    @ApiModelProperty(name = "sampleName", value = "样品单名称")
    @TableField(exist = false)
    private String sampleName;
    @ApiModelProperty(name = "sampleNo", value = "样品单编号")
    @TableField(exist = false)
    private String sampleNo;

    @ApiModelProperty(name = "createTimeStart", value = "时间条件参数开始--创建时间")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd HH:mm:ss")
    private Date createTimeStart;
    @ApiModelProperty(name = "createTimeEnd", value = "时间条件参数结束--创建时间")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd HH:mm:ss")
    private Date createTimeEnd;
    @ApiModelProperty(name = "idBatch", value = "批量主键处理")
    @JSONField(serialize = false)
    @TableField(exist = false)
    private List<Integer> idBatch;
    @ApiModelProperty(name = "updateTimeStart", value = "时间条件参数开始--修改时间")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTimeStart;
    @ApiModelProperty(name = "updateTimeEnd", value = "时间条件参数结束--修改时间")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTimeEnd;
    @ApiModelProperty(name = "paramAsc", value = "升序参数：ask、createTime、createUser、id、isDelete、itemId、itemName、itemSizeHeight、itemSizeLength、itemSizeWidth、photo、price、sampleId、totalNumber、updateTime、updateUser、")
    @JSONField(serialize = false)
    @TableField(exist = false)
    private String[] paramAsc;
    @ApiModelProperty(name = "paramDesc", value = "降序参数：ask、createTime、createUser、id、isDelete、itemId、itemName、itemSizeHeight、itemSizeLength、itemSizeWidth、photo、price、sampleId、totalNumber、updateTime、updateUser、")
    @JSONField(serialize = false)
    @TableField(exist = false)
    private String[] paramDesc;

    // 英寸部分字段
    @ApiModelProperty(name = "itemSizeHeightInch", value = "产品尺寸-高(英寸)")
    @TableField(exist = false)
    private BigDecimal itemSizeHeightInch;
    @ApiModelProperty(name = "itemSizeLengthInch", value = "产品尺寸-长(英寸)")
    @TableField(exist = false)
    private BigDecimal itemSizeLengthInch;
    @ApiModelProperty(name = "itemSizeWidthInch", value = "产品尺寸-宽(英寸)")
    @TableField(exist = false)
    private BigDecimal itemSizeWidthInch;
    @ApiModelProperty(name = "boxSizeHeightInch", value = "外箱-高")
    @TableField(exist = false)
    private BigDecimal boxSizeHeightInch;
    @ApiModelProperty(name = "boxSizeLengthInch", value = "外箱-长")
    @TableField(exist = false)
    private BigDecimal boxSizeLengthInch;
    @ApiModelProperty(name = "boxSizeWidthInch", value = "外箱-宽")
    @TableField(exist = false)
    private BigDecimal boxSizeWidthInch;
    @ApiModelProperty(name = "innerBoxSizeHeightInch", value = "内箱-高")
    @TableField(exist = false)
    private BigDecimal innerBoxSizeHeightInch;
    @ApiModelProperty(name = "innerBoxSizeLengthInch", value = "内箱-长")
    @TableField(exist = false)
    private BigDecimal innerBoxSizeLengthInch;
    @ApiModelProperty(name = "innerBoxSizeWidthInch", value = "内箱-宽")
    @TableField(exist = false)
    private BigDecimal innerBoxSizeWidthInch;
    //磅部分字段
    @ApiModelProperty(name = "boxSroughWeightBl", value = "外箱-毛重(磅)")
    @TableField(exist = false)
    private BigDecimal boxSroughWeightBl;
    @ApiModelProperty(name = "boxSuttleBl", value = "外箱-净重(磅)")
    @TableField(exist = false)
    private BigDecimal boxSuttleBl;
}
